#ifndef OPINFCONTROLLER_H
#define OPINFCONTROLLER_H

#include "httprequesthandler.h"

class OpinfController : public stefanfrings::HttpRequestHandler
{
    Q_OBJECT
public:
    OpinfController(QObject* parent=0);
    void service(stefanfrings::HttpRequest& request, stefanfrings::HttpResponse& response);
    void overLight(stefanfrings::HttpRequest& request, stefanfrings::HttpResponse& response);
    void bottleState(stefanfrings::HttpRequest& request, stefanfrings::HttpResponse& response);

signals:
    void sendOpinfMain(QString,QString);   //用来传递到主界面数据的信号


private:

};

#endif // OPINFCONTROLLER_H
